package org.jeecg.modules.engineering.vo;

import java.util.List;

import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.modules.engineering.entity.EquipDataCollector;
import org.jeecg.modules.engineering.entity.EquipDataCollectorCode;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

/**
 * @Description: 设备数据采集商表
 * @Author: jeecg-boot
 * @Date:   2019-08-27
 * @Version: V1.0
 */
@Data
public class EquipDataCollectorPage {
	
	/**数据采集商id*/
	private String id;
	/**采集商名称*/
  	@Excel(name = "采集商名称", width = 15)
	private String collectorName;
	/**采集商code*/
  	@Excel(name = "采集商code", width = 15)
	private String collectorCode;
	/**采集URL*/
  	@Excel(name = "采集URL", width = 15)
	private String collectorUrl;
	/**创建人*/
  	@Excel(name = "创建人", width = 15)
	private String createBy;
	/**创建时间*/
  	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**修改人*/
  	@Excel(name = "修改人", width = 15)
	private String updateBy;
	/**修改时间*/
  	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	/**删除标识0-正常,1-已删除*/
  	@Excel(name = "删除标识0-正常,1-已删除", width = 15)
	@TableLogic
	private Integer delFlag;
	
	@ExcelCollection(name="与外包商采集项编码对应关系表")
	private List<EquipDataCollectorCode> equipDataCollectorCodeList;
	
}
